import {createStore} from 'vuex'
import { SessionUtils } from '@/utils/SessionUtils.js'
export default createStore({
    state: {
        color_state: SessionUtils.get('color_state'),
        style:{
            background_color: "white",
            text_color: "rgba(232, 230, 227, 0.85);",
            active_color: "#409EFF"
        },
        user_uid:"124062067645544962"
    },
    mutations: {
        changeTheme(state) {
            state.color_state = !state.color_state
            SessionUtils.set('color_state', state.color_state)
        },

    },
    actions: {

    },
    modules: {}
})
